//
//  ZLExamResultModel.h
//  ZLExamination
//
//  Created by Zheng on 2017/9/12.
//  Copyright © 2017年 Zheng. All rights reserved.
//

/*
 "credit_num" = 0;
 "is_correct" = 0;

 */


#import "YCBaseModel.h"

@interface ZLExamResultListModel : YCBaseModel

@property (nonatomic, copy) NSString *curriculum_id; //课程id
@property (nonatomic, copy) NSString *chapter_id; //章节id

@property (nonatomic, copy) NSString *add_time; //添加时间
@property (nonatomic, copy) NSString *analysis; //错题解析
@property (nonatomic, copy) NSString *credit_num; //增加学分
@property (nonatomic, copy) NSString *questions_id;
@property (nonatomic, copy) NSString *score;
@property (nonatomic, copy) NSString *user_id; //学员ID
@property (nonatomic, copy) NSString *user_paper_id;

@property (nonatomic, copy) NSString *x_idx; //题库ID //收藏ID
@property (nonatomic, copy) NSString *subject; //题目名称
@property (nonatomic, copy) NSString *type; //类型 1：单选 2：多选
@property (nonatomic, copy) NSString *op_answer; //题目答案选项
@property (nonatomic, copy) NSString *the_answer; //所选答案
@property (nonatomic, copy) NSString *co_answer; //正确答案

@property (nonatomic, copy) NSString *typeOfAnswer; //1.未作答 2.正确 3.错误
@property (nonatomic) NSInteger questionNumber; //题号
@property (nonatomic, strong) NSMutableArray *optionTypes; //1.白 2.蓝 3.红

@property (nonatomic, strong) NSArray *options; //所有答案

@end

@interface ZLExamResultModel : YCBaseModel

@property (nonatomic, copy) NSString *add_time; //添加时间
@property (nonatomic, copy) NSString *answer_num; //正确题数
@property (nonatomic, copy) NSString *credit_num; //增加学分
@property (nonatomic, copy) NSString *curriculum_id; //课程ID
@property (nonatomic, copy) NSString *end_time; //结束考试时间
@property (nonatomic, copy) NSString *have_num; //考试总题数
@property (nonatomic, copy) NSString *x_id; //学员试卷ID
@property (nonatomic, copy) NSString *is_pass; //1及格 2不及格
@property (nonatomic, copy) NSString *paper_id; //试卷ID
@property (nonatomic, copy) NSString *result_num; //考试结果
@property (nonatomic, copy) NSString *start_time; //开始考试时间
@property (nonatomic, copy) NSString *status; //状态 1：考试中 2：暂停 3：已完成
@property (nonatomic, copy) NSString *surplus_time; //剩余考试时间单位分钟
@property (nonatomic, copy) NSString *suspend_subject_id; //暂停时题号
@property (nonatomic, copy) NSString *suspend_time; //暂停时间
@property (nonatomic, copy) NSString *the_time; //考试用时 分钟
@property (nonatomic, copy) NSString *title; //考试标题
@property (nonatomic, copy) NSString *user_id; //学员id
@property (nonatomic, copy) NSArray *subject_lists; //题目列表

@property (nonatomic, copy) NSArray<NSMutableArray *> *answers; //单选和多选数组
@property (nonatomic, copy) NSArray<NSMutableArray *> *wrongAnswes; //错题的单选和多选数组





@end
